Add friendly_id to test group in gem file

This commit is contained in:
Md. Tauhidul Islam 2015-02-08 00:43:38 +06:00
parent f77d187f66
commit 8573b40e6f
2 changed files with 1 additions and 2 deletions

View File

@ -21,6 +21,7 @@ group :test do
gem 'rspec-rails'
gem 'simplecov'
gem 'systemu'
gem 'friendly_id', '~> 4.0.10.1'
end
gemspec

View File

@ -2,8 +2,6 @@ class ProfilesController < ApplicationController
helper_method :current_user
def show
@profile = Profile.friendly.find params[:id]
impressionist(@profile, nil, :unique => [:impressionable_type, :impressionable_id])
end
def current_user