Class: TemplateSyncsController

Inherits:
ReactController
  • Object
show all
Defined in:
app/controllers/template_syncs_controller.rb

Instance Method Summary collapse

Instance Method Details

#action_permissionObject



5
6
7
8
9
10
11
12
# File 'app/controllers/template_syncs_controller.rb', line 5

def action_permission
  case params[:action]
  when 'index'
    :view_template_syncs
  else
    super
  end
end

#indexObject



2
3
# File 'app/controllers/template_syncs_controller.rb', line 2

def index
end