Sha256: ff6b9883e50517650b365f3a38593afedec384ac36fb68b553716ec0105bbafb

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

module Crowdblog
  class Controller < ActionController::Base
    layout 'crowdblog/crowdblog'
    before_filter :authorize!

    def authorize!
      redirect_to main_app.new_user_session_url unless current_user
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
crowdblog-0.0.7 app/controllers/crowdblog/controller.rb
crowdblog-0.0.6 app/controllers/crowdblog/controller.rb
crowdblog-0.0.5 app/controllers/crowdblog/controller.rb
crowdblog-0.0.4 app/controllers/crowdblog/controller.rb