Sha256: f9cb1222522ad5f7b5b98efc05cb4fb3a38f46a070dffef46845bfdb35188e25
Contents?: true
Size: 349 Bytes
Versions: 31
Compression:
Stored size: 349 Bytes
Contents
class PostsController < ApplicationController before_filter :authenticate_user!, :except => [:index] def index # render :inline => "posts#index", :layout => "application" render :text => "posts#index" end def new # render :inline => "posts#new", :layout => "application" render :text => "posts#new" end end
Version data entries
31 entries across 31 versions & 6 rubygems