Sha256: 4f983ceed0649373b5a99005df836e54f4c4e10b8946885f99b83ce979277043

Contents?: true

Size: 285 Bytes

Versions: 12

Compression:

Stored size: 285 Bytes

Contents

class IshManager::UnsubscribesController < IshManager::ApplicationController

  layout false

  # alphabetized : )

  def new
    @unsubscribe = Ish::Unsubscribe.new
    authorize! :new, @unsubscribe
  end

  def create
    authorize! :open_permission, IshManager::Ability
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ish_manager-0.1.8.316 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.315 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.314 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.313 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.312 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.311 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.310 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.309 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.308 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.307 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.306 app/controllers/ish_manager/unsubscribes_controller.rb
ish_manager-0.1.8.305 app/controllers/ish_manager/unsubscribes_controller.rb