search for: admin_cm

Displaying 1 result from an estimated 1 matches for "admin_cm".

Did you mean: admin_cq
2013 Mar 20
2
Rspec + Devise + BaseController
...9;m creating a base controller for the admin section of a project. All controllers whitin the admin section will inherit from it. ##################################################### #app/controllers/admins/base_controller.rb class Admins::BaseController < ApplicationController layout "admin_cms" before_filter :authenticate_admin! end ##################################################### #spec/controllers/admins/base_controller_spec.rb require ''spec_helper'' describe Admins::BaseController do controller do def index end end describe "before_...