Sha256: 9389d8b2c68c445c8e87390158d4f0d838c8ec6e83ad873d145434e709931832

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

class CustomAccountsController < Bento::AccountsController
  defaults :resource_class => Account, :collection_name => 'accounts', :instance_name => 'account'
  skip_before_filter :authenticate_user!, :only => %w[new]

  def new
    flash[:special] = "Welcome to '#{controller_path}' controller!"
    super
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bento-0.0.1 spec/rails_app/app/controllers/custom_accounts_controller.rb