Sha256: 95503ed00afb697f7f0a92698194c2d8d88bbdb7ba103478df3bd48a64f37e02

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crowdblog-0.0.10 app/controllers/crowdblog/controller.rb
crowdblog-0.0.9 app/controllers/crowdblog/controller.rb