before_filter :authenticate_user, :only => []
before_filter :authenticate_author, :only => []
else
- before_filter :authenticate_reader, :only => [:index, :metro]
+ before_filter :authenticate_reader, :only => [:index, :ap]
before_filter :authenticate_user, :only => []
before_filter :authenticate_author, :only => []
end
def index
respond_to do |format|
- format.html
+ format.html { render layout: 'ap' }
end
end
- def metro
+ def ap
respond_to do |format|
- format.html
- #format.html { render layout: 'metro' }
+ format.html { render layout: 'ap' }
end
end