Sha256: 929bcca31bab1b30c5483f2e235793122054c025f626e506487de7fee9f3f4ea

Contents?: true

Size: 351 Bytes

Versions: 22

Compression:

Stored size: 351 Bytes

Contents

class AwesomeTranslations::HandlersController < AwesomeTranslations::ApplicationController
  before_filter :set_handler

  def index
    @handlers = AwesomeTranslations::Handler.all
  end

  def show
    @groups = @handler.groups
  end

private

  def set_handler
    @handler = AwesomeTranslations::Handler.find(params[:id]) if params[:id]
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
awesome_translations-0.0.24 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.23 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.22 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.21 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.20 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.19 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.18 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.17 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.16 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.15 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.14 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.13 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.12 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.10 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.9 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.8 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.7 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.6 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.5 app/controllers/awesome_translations/handlers_controller.rb
awesome_translations-0.0.4 app/controllers/awesome_translations/handlers_controller.rb