Commit Graph

20 Commits

Author SHA1 Message Date
Lucas Mazza eb091b867f Fix `rails g devise:views -v mailer` with the Simple Form generator.
Our Simple Form generator shouldn't be responsible for generating the `mailer`
view directory, so we should skip it and let the Erb generator do the job.

Closes #3254.
2015-08-27 12:12:13 -03:00
Damir Svrtan df9712bbe4 Rename links.erb to links.html.erb 2014-08-18 00:15:25 +02:00
Molly Trombley-McCann and Shatarupa Nandi a79e0f6bca Rename variable to views, change flag to -v 2014-03-06 13:41:11 -08:00
Molly Trombley-McCann 09ebe833b3 Add a flag to views generator allowing user to specify which view directories to generate 2014-03-04 15:05:16 -08:00
Greg Cobb and Molly Trombley-McCann 0d06ed6c79 WIP 2014-03-03 09:30:00 -08:00
Anshul Sharma dc1b399a8b Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
Vasiliy Ermolovich f822f92321 use scoped path to shared views if scope is present
closes #2253
2013-02-09 02:35:06 +03:00
Rodrigo Flores 9bf718dd82 Revert "Move devise/shared/_links.erb to devise/_links.erb"
This reverts commit aa2d15aa33.

Conflicts:

	CHANGELOG.rdoc
2012-03-03 10:40:59 -03:00
José Valim aa2d15aa33 Move devise/shared/_links.erb to devise/_links.erb 2012-01-02 21:26:26 +01:00
José Valim 5c71c1cf19 Improve devise generator tests. 2011-11-10 10:19:57 -02:00
Bounmy Stephane 76bff0d4de removed Gemfile's injection
by default : Markerb define then markerb email views generated otherwise
erb
2011-09-30 22:41:02 -07:00
Bounmy Stephane a629654a15 ensure that the gem markerb entry is not duplicated in the gemfile 2011-09-14 20:20:20 -07:00
Bounmy Stephane 8067022d98 added injection of markerb in Gemfile 2011-09-13 22:50:39 -07:00
Bounmy Stephane 72ba56b071 generate markerb views with "--markerb" instead of "-m markerb" 2011-09-13 21:46:46 -07:00
Bounmy Stephane 10451e9e38 added mailviewsgenerator
now mail generator can copy markerb or erb mail template views
2011-09-13 00:19:48 -07:00
José Valim 13ef23f517 Add simple form generators. 2011-06-27 11:50:28 -03:00
José Valim b942520dc4 No need to use expand_path as we assume the test directory is in the . 2010-12-18 08:22:01 +01:00
Carlos Antonio da Silva 7ed1fb116f Cleanup requires in generators tests, fixing issue with load error in Ruby 1.9.2 2010-12-09 23:52:30 -02:00
stJhimy 4b776c4910 Added test for Devise::Generators::ViewsGenerator with scope
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-10-26 18:00:45 -02:00
stJhimy f53f02f385 Added test for Devise::Generators::ViewsGenerators with no params
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-10-26 18:00:39 -02:00