7 lines
223 B
Ruby
7 lines
223 B
Ruby
class BadgesController < ApplicationController
|
|
before_action :set_cache_control_headers, only: [:show]
|
|
def show
|
|
@badge = Badge.find_by_slug(params[:slug])
|
|
set_surrogate_key_header "badges-show-action"
|
|
end
|
|
end
|