Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class StatesController < ApplicationController
- verify :only=> [:new, :destroy, :create, :update],
- :session => :user_loggedin,
- :add_flash => {:error => "please login first"},
- :redirect_to => :index
- def index
- ....
Add Comment
Please, Sign In to add comment